package a.i;

import a.c.ab;
import a.c.bb;
import a.c.d;
import a.c.e;
import a.c.j;
import a.c.k;
import a.c.m;
import a.c.n;
import a.c.q;
import a.c.r;
import a.c.w;

import java.util.HashMap;
import java.util.Map;

public class x
{
  private a_ a;
  private boolean b;
  private boolean c;
  private boolean d;
  public static int e;
  
  public x()
  {
    this.a = new r();
  }
  
  public boolean a()
  {
    return this.c;
  }
  
  public void a(boolean paramBoolean)
  {
    this.c = paramBoolean;
  }
  
  public boolean b()
  {
    return this.d;
  }
  
  public void b(boolean paramBoolean)
  {
    this.d = paramBoolean;
  }
  
  public boolean c()
  {
    return this.b;
  }
  
  public void c(boolean paramBoolean)
  {
    this.b = paramBoolean;
  }
  
  public x(a_ parama_)
  {
    if (!p.b)
    {
      if (parama_ == null) {
        throw new NullPointerException("copyFactory");
      }
      this.a = parama_;
    }
  }
  
  public bb a(q paramq1, q paramq2)
  {
    return a(paramq1, c(paramq1), paramq2);
  }
  
  public q a(q paramq)
  {
    return a(paramq, c(paramq));
  }
  
  public q a(q paramq, w paramw)
  {
    a_ locala_ = c(this.a, paramq);
    q localq = a(locala_, paramq);
    a(locala_, paramq, paramw, null, localq);
    return localq;
  }
  
  public a_ d()
  {
    return this.a;
  }
  
  public void a(a_ parama_)
  {
    if (parama_ == null) {
      throw new NullPointerException();
    }
    this.a = parama_;
  }
  
  protected q a(a_ parama_, q paramq)
  {
    return parama_.a();
  }
  
  private a_ c(a_ parama_, q paramq)
  {
    boolean bool2 = p.b;
    boolean bool1 = p.a;
    if (!bool2) {
      if (this.c) {
        parama_ = new h_(parama_);
      }
    }
    if (!bool2) {
      if (this.d) {
        parama_ = new g_(parama_);
      }
    }
    if (this.b)
    {
      Object[] arrayOfObject = paramq.c();
      int i = 0;
      do
      {
        if (i >= arrayOfObject.length) {
          break;
        }
        Object localObject = arrayOfObject[i];
        if (bool1) {
          break label105;
        }
        parama_ = new e_(parama_, localObject);
        i++;
      } while (!bool1);
    }
    label105:
    return parama_;
  }
  
  public bb a(q paramq1, w paramw, q paramq2)
  {
    return a(c(this.a, paramq1), paramq1, paramw, null, paramq2);
  }
  
  public bb a(q paramq1, w paramw, m paramm, q paramq2)
  {
    return a(c(this.a, paramq1), paramq1, paramw, paramm, paramq2);
  }
  
  private bb a(a_ parama_, q paramq1, w paramw, m paramm, q paramq2)
  {
    boolean bool2 = p.b;
    boolean bool1 = p.a;
    a(parama_, paramq1, paramq2);
    bb localbb = new bb();
    Map localMap1 = f();
    Map localMap2 = e();
    if (paramq1 == paramq2) {
      paramw = new bb(paramw).l();
    }
    Object localObject2;
    do
    {
      if (!paramw.e()) {
        break;
      }
      localObject1 = paramw.d();
      if (bool2) {
        break label147;
      }
      localObject2 = a(parama_, paramq2, (e)localObject1);
      localMap1.put(localObject1, localObject2);
      localbb.add(localObject2);
      paramw.f();
      if (bool1) {
        break label146;
      }
    } while (!bool1);
    if (!bool2) {
      if (bool2) {}
    }
    label146:
    label147:
    Object localObject1 = paramm != null ? paramm : b(paramq1);
    if (paramq1 == paramq2) {
      localObject1 = new ab((m)localObject1).l();
    }
    do
    {
      if (!((m)localObject1).e()) {
        break;
      }
      localObject2 = ((m)localObject1).a();
      e locale1 = ((d)localObject2).e();
      e locale2 = ((d)localObject2).f();
      e locale3 = (e)localMap1.get(locale1);
      e locale4 = (e)localMap1.get(locale2);
      if (bool1) {
        break label320;
      }
      if ((bool2) || ((locale3 != null) && (locale4 != null)))
      {
        d locald = a(parama_, paramq2, locale3, locale4, (d)localObject2);
        if (bool2) {
          continue;
        }
        if (localMap2 != null) {
          localMap2.put(localObject2, locald);
        }
      }
      ((m)localObject1).f();
    } while (!bool1);
    if (!bool2) {
      a(parama_, paramq1, paramq2, localMap1, localMap2);
    }
    label320:
    return localbb;
  }
  
  protected void a(a_ parama_, q paramq1, q paramq2)
  {
    parama_.a(paramq1, paramq2);
  }
  
  protected void a(a_ parama_, q paramq1, q paramq2, Map paramMap1, Map paramMap2)
  {
    parama_.a(paramq1, paramq2, paramMap1, paramMap2);
  }
  
  protected Map e()
  {
    return new HashMap();
  }
  
  protected d a(a_ parama_, q paramq, e parame1, e parame2, d paramd)
  {
    return parama_.a(paramq, parame1, parame2, paramd);
  }
  
  protected m b(q paramq)
  {
    return paramq.w();
  }
  
  protected e a(a_ parama_, q paramq, e parame)
  {
    return parama_.a(paramq, parame);
  }
  
  protected Map f()
  {
    return new HashMap();
  }
  
  protected w c(q paramq)
  {
    return paramq.v();
  }
  
  public static abstract interface a_
  {
    public abstract e a(q paramq, e parame);
    
    public abstract d a(q paramq, e parame1, e parame2, d paramd);
    
    public abstract q a();
    
    public abstract void a(q paramq1, q paramq2);
    
    public abstract void a(q paramq1, q paramq2, Map paramMap1, Map paramMap2);
  }
  
  public static class d_
    extends x.c_
  {
    public static int f;
    
    public d_(x.a_ parama_, Object paramObject)
    {
      super(paramObject);
    }
    
    protected j a(q paramq)
    {
      return paramq.C();
    }
    
    protected void a(d paramd1, d paramd2)
    {
      super.a(paramd1, paramd2);
      k localk = paramd1.c().c(this.c);
      if ((p.b) || (localk != null))
      {
        Object localObject = localk.get(paramd1);
        b(paramd2.c()).a(paramd2, a(this.c, paramd1, paramd2, localObject));
      }
    }
    
    protected Object a(Object paramObject1, d paramd1, d paramd2, Object paramObject2)
    {
      return paramObject2;
    }
  }
  
  public static class e_
    extends x.c_
  {
    public static int f;
    
    public e_(x.a_ parama_, Object paramObject)
    {
      super(paramObject);
    }
    
    protected j a(q paramq)
    {
      return db.c();
    }
    
    protected void a(e parame1, e parame2)
    {
      super.a(parame1, parame2);
      k localk = parame1.g().c(this.c);
      if ((p.b) || (localk != null))
      {
        Object localObject = a(this.c, parame1, parame2, localk.get(parame1));
        if (localObject != null) {
          b(parame2.g()).a(parame2, localObject);
        }
      }
    }
    
    protected void a(d paramd1, d paramd2)
    {
      super.a(paramd1, paramd2);
      k localk = paramd1.c().c(this.c);
      if ((p.b) || (localk != null))
      {
        Object localObject = a(this.c, paramd1, paramd2, localk.get(paramd1));
        if (localObject != null) {
          b(paramd2.c()).a(paramd2, localObject);
        }
      }
    }
    
    protected Object a(Object paramObject1, e parame1, e parame2, Object paramObject2)
    {
      return paramObject2;
    }
    
    protected Object a(Object paramObject1, d paramd1, d paramd2, Object paramObject2)
    {
      return paramObject2;
    }
  }
  
  public static class g_
    extends x.b_
  {
    private n[] c;
    private n[] d;
    public static int e;
    
    public g_(x.a_ parama_)
    {
      super();
    }
    
    protected void b(q paramq1, q paramq2)
    {
      boolean bool2 = p.b;
      boolean bool1 = p.a;
      super.b(paramq1, paramq2);
      this.c = paramq1.F();
      this.d = new n[this.c.length];
      do
      {
        for (int i = 0; !bool1; i++)
        {
          if (i >= this.c.length) {
            break;
          }
          this.d[i] = paramq2.C();
        }
      } while (bool2);
    }
    
    protected void a(d paramd1, d paramd2)
    {
      boolean bool = p.a;
      super.a(paramd1, paramd2);
      int i = 0;
      do
      {
        if (i >= this.c.length) {
          break;
        }
        n localn1 = this.c[i];
        n localn2 = this.d[i];
        Object localObject = a(paramd1, paramd2, localn1.get(paramd1));
        localn2.a(paramd2, localObject);
        i++;
      } while (!bool);
    }
    
    protected Object a(d paramd1, d paramd2, Object paramObject)
    {
      return paramObject;
    }
  }
  
  public static class h_
    extends x.b_
  {
    private a.c.x[] d;
    private a.c.x[] e;
    public static int f;
    
    public h_(x.a_ parama_)
    {
      super();
    }
    
    protected void b(q paramq1, q paramq2)
    {
      boolean bool2 = p.b;
      boolean bool1 = p.a;
      super.b(paramq1, paramq2);
      this.d = paramq1.D();
      this.e = new a.c.x[this.d.length];
      do
      {
        for (int i = 0; !bool1; i++)
        {
          if (i >= this.d.length) {
            break;
          }
          this.e[i] = paramq2.B();
        }
      } while (bool2);
    }
    
    protected void a(e parame1, e parame2)
    {
      boolean bool = p.a;
      super.a(parame1, parame2);
      int i = 0;
      do
      {
        if (i >= this.d.length) {
          break;
        }
        a.c.x localx1 = this.d[i];
        a.c.x localx2 = this.e[i];
        Object localObject = a(parame1, parame2, localx1.get(parame1));
        localx2.a(parame2, localObject);
        i++;
      } while (!bool);
    }
    
    protected Object a(e parame1, e parame2, Object paramObject)
    {
      return paramObject;
    }
  }
  
  public static class f_
    extends x.c_
  {
    public static boolean f;
    
    public f_(x.a_ parama_, Object paramObject)
    {
      super(paramObject);
    }
    
    protected j a(q paramq)
    {
      return paramq.B();
    }
    
    protected void a(e parame1, e parame2)
    {
      super.a(parame1, parame2);
      k localk = parame1.g().c(this.c);
      if ((p.b) || (localk != null))
      {
        Object localObject = a(this.c, parame1, parame2, localk.get(parame1));
        b(parame2.g()).a(parame2, localObject);
      }
    }
    
    protected Object a(Object paramObject1, e parame1, e parame2, Object paramObject2)
    {
      return paramObject2;
    }
  }
  
  public static abstract class c_
    extends x.b_
  {
    protected final Object c;
    private j d;
    public static boolean e;
    
    protected c_(x.a_ parama_, Object paramObject)
    {
      super();
      this.c = paramObject;
    }
    
    protected void b(q paramq1, q paramq2)
    {
      boolean bool = p.b;
      super.b(paramq1, paramq2);
      if (!bool) {
        if (paramq2.c(this.c) != null)
        {
          this.d = ((j)paramq2.c(this.c));
          if (!bool) {
            if (!p.a) {
              return;
            }
          }
        }
        else
        {
          this.d = a(paramq2);
        }
      }
      paramq2.a(this.c, this.d);
    }
    
    protected abstract j a(q paramq);
    
    protected j b(q paramq)
    {
      if (!p.b) {
        if (this.d == null) {
          this.d = a(paramq);
        }
      }
      return this.d;
    }
  }
  
  public static abstract class b_
    implements x.a_
  {
    private final x.a_ a;
    public static boolean b;
    
    protected b_(x.a_ parama_)
    {
      if (!p.b)
      {
        if (parama_ == null) {
          throw new NullPointerException("delegatingFactory");
        }
        this.a = parama_;
      }
    }
    
    public void a(q paramq1, q paramq2)
    {
      b(paramq1, paramq2);
      this.a.a(paramq1, paramq2);
    }
    
    public void a(q paramq1, q paramq2, Map paramMap1, Map paramMap2)
    {
      this.a.a(paramq1, paramq2, paramMap1, paramMap2);
      b(paramq1, paramq2, paramMap1, paramMap2);
    }
    
    public e a(q paramq, e parame)
    {
      e locale = this.a.a(paramq, parame);
      if (!p.b) {
        if (parame != null) {
          a(parame, locale);
        }
      }
      return locale;
    }
    
    public q a()
    {
      return this.a.a();
    }
    
    protected void b(q paramq1, q paramq2) {}
    
    protected void b(q paramq1, q paramq2, Map paramMap1, Map paramMap2) {}
    
    protected void a(e parame1, e parame2) {}
    
    protected void a(d paramd1, d paramd2) {}
    
    public d a(q paramq, e parame1, e parame2, d paramd)
    {
      d locald = this.a.a(paramq, parame1, parame2, paramd);
      if (!p.b) {
        if (paramd != null) {
          a(paramd, locald);
        }
      }
      return locald;
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.i.getDefaultLicenseInfoEx

 * JD-Core Version:    0.7.0.1

 */